package com.sun.web.domain;

import java.io.Serializable;

import org.springframework.stereotype.Component;

@Component
public class ResultMsg implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 6032430720435246603L;
	
	private String resultMsg;
    private int resultCode;
    private Object data;

    public ResultMsg() {
        this.resultMsg = "success";
        this.resultCode = 0;
        this.data = null;
    }

    public String getresultMsg() {
        return resultMsg;
    }

    public void setresultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public int getresultCode() {
        return resultCode;
    }

    public void setresultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }


}
